package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ghy
 * @version 1.0.1
 * @date 2023-04-28 10:54:36
 */
@Component
@ConfigurationProperties(prefix = "snowflake")
@Data
public class SnowFlakeProperties {

    private long workerId;
    private long datacenterId;
    private long sequence;

}
